#ifndef PROGRESS_INTERFACE_H
#define PROGRESS_INTERFACE_H
#include <string>

class UiInterface
{
public:
    //Manipulate the timer to monitor the player status
    virtual void StartTimer() = 0;
    virtual void StopTimer() = 0;

    virtual void SetFileInfo(const std::wstring& file_name, long file_length) = 0;

    //normal play state action
    virtual void StartPlay(long pos) = 0;
    virtual void UpdateNormalPlayingStatus( long pre_pos, long new_pos) = 0;

    virtual void SetStartPos(long pos) = 0;
    virtual void SetEndPos(long pos) = 0;

    //repeated play state action
    virtual void StartRepeat() = 0; 
    virtual void UpdateRepeatedPlayingStatus( long pre_pos, long new_pos) = 0;

    //
    virtual void ContinuePlay() = 0;
    virtual void Repaint() = 0;
};
#endif
